package com.wzy.designpattern.structural.facade;

/**
 * 描述
 * 创建人    Wzy
 * 创建时间: 2020-05-15  22:00
 */
public class Test {
    public static void main(String[] args) {
        PointGift iphone = new PointGift("iphone");
        GiftExchangeService giftExchangeService = new GiftExchangeService();
//        giftExchangeService.setPointsPaymentService(new PointsPaymentService());
//        giftExchangeService.setQualifyServer(new QualifyServer());
//        giftExchangeService.setShippingService(new ShippingService());

        giftExchangeService.giftExchange(iphone);

    }
}
